set(CMAKE_CXX_COMPILER "g++")
set(CMAKE_CXX_FLAGS "-pedantic -Wall -Wconversion -DBUSYWAIT -DRSIM_VERBOSE -DRSIM_SAFE -O2")

include_directories (${RSIM_SOURCE_DIR})

add_executable(prog1 mainsaba.cpp ${rsim_src})
add_executable(prog2 mainsdca.cpp ${rsim_src})
add_executable(prog3 lillydcaaba_21.cpp ${rsim_src})
add_executable(prog4 mainslilly.cpp ${rsim_src})

target_link_libraries(prog1 ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries(prog2 ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries(prog3 ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries(prog4 ${CMAKE_THREAD_LIBS_INIT})

